<template>
  <div></div>
</template>

<script setup>
import { inject } from 'vue'
const router = inject('$router')
const routes = router.getRoutes()
const Vue = () => import('vue')
Vue().then((res) => {
  console.log(res)
})
// 处理sideBar
const whiteList = routes.forEach((item, index) => {
  // console.log(item)
})
</script>

<style lang="scss" scoped></style>
